<layout name="../../../Resource/View/master"/>
<ul class="breadcrumb no-border no-radius b-b b-light pull-in">
    <li><a href="#"><i class="fa fa-home"></i> Home</a></li>
    <li><a href="#">分类管理</a></li>
    <li><a href="#">添加分类</a></li>
</ul>
<div class="m-b-md">
    <h3 class="m-b-none">添加分类</h3>
</div>
<div class="row">
    <div class="col-sm-12">
        <section class="panel panel-default">
            <header class="panel-heading font-bold">添加分类</header>
            <div class="panel-body">
                <form action="" method="post" class="form-horizontal">
                    <legend>添加分类</legend>
                    <!--<div class="form-group">-->
                        <!--<label class="col-sm-2 control-label">选择所属类型</label>-->
                        <!--<div class="col-sm-3">-->
                            <!--<select name="tid" class="form-control input-sm">-->
                                <!--<option value="0">请选择</option>-->
                                <!--<volist name="typeData" id="v">-->
                                    <!--<option value="{$v['tid']}"-->
                                    <!--<if condition="$oldData['tid'] == $v['tid']">selected</if>-->
                                    <!--&gt;{$v.tname}</option>-->
                                <!--</volist>-->
                            <!--</select>-->
                        <!--</div>-->
                    <!--</div>-->
                    <!--<div class="form-group">-->
                        <!--<label class="col-sm-2 control-label">排序权重</label>-->
                        <!--<div class="col-sm-3">-->
                            <!--<input type="number" name="sort" class="form-control" value="{$oldData['sort']}"/>-->
                        <!--</div>-->
                    <!--</div>-->
                    <div class="form-group">
                        <label class="col-sm-2 control-label">分类名称</label>
                        <div class="col-sm-3">
                            <input type="text" name="cname" class="form-control" value="{$oldData['cname']}"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-4 col-sm-offset-2">
                            <button type="submit" class="btn btn-primary">确认添加</button>
                        </div>
                    </div>
                </form>
            </div>
        </section>
    </div>
</div>


